/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package persistence;

/**
 *
 * @author isen
 */
public class PersistenceFactory {
    
    public static PersistenceInterface getInstance(String persistenceMechanism){
            if  (persistenceMechanism.equals("JDBC")){
                return PersistenceImplementation.getJDBCPersistenceManager();
            }
        else{
            return null;
        }
    }    
}
